package com.taijihuabao.modules.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.taijihuabao.common.commonutils.LongToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;


/**
 * @author luoxianan
 */
@Data
@EqualsAndHashCode(callSuper=false)
@ToString(callSuper = true)
@ApiModel("码表实体类")
public class BaseClockEntity extends BaseEntity{
    /**
     * 码表主键
     */
    @ApiModelProperty(value = "码表主键")
    @JsonSerialize(using = LongToStringSerializer.class)
    private Long id;
    /**
     * 码表类型
     */
    @ApiModelProperty(value = "码表类型")
    @JsonSerialize(using = LongToStringSerializer.class)
    private Long  typeId;

    @ApiModelProperty(value = "码表业务编号")
    private String  dictCode;

    @ApiModelProperty(value = "码值")
    private String  name;


}
